﻿using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.WorkFlow_Run_Processs;

namespace LeadThing.AbpZeroTemplate.WorkFlow_Run_Processs.Dtos
{
    /// <summary>
    /// 实例节点流转明细列表Dto
    /// </summary>
    [AutoMapFrom(typeof(WorkFlow_Run_Process))]
    public class WorkFlow_Run_ProcessListDto : EntityDto<long>
    {
        /// <summary>
        /// 实例ID
        /// </summary>
        [DisplayName("实例ID")]
        public int RunID { get; set; }
        /// <summary>
        /// 流程ID
        /// </summary>
        [DisplayName("流程ID")]
        public int FlowID { get; set; }
        /// <summary>
        /// 流程节点ID
        /// </summary>
        [DisplayName("流程节点ID")]
        public int ProessID { get; set; }
        /// <summary>
        /// 上级节点ID
        /// </summary>
        [DisplayName("上级节点ID")]
        public int ParentProessID { get; set; }
        /// <summary>
        /// 被退回的0否(默认)1是
        /// </summary>
        [DisplayName("被退回的0否(默认)1是")]
        public int IsBack { get; set; }
        /// <summary>
        /// 接收时间
        /// </summary>
        [DisplayName("接收时间")]
        public DateTime JS_Time { get; set; }
        /// <summary>
        /// 办理时间
        /// </summary>
        [DisplayName("办理时间")]
        public DateTime BL_Time { get; set; }
        /// <summary>
        /// 转交时间
        /// </summary>
        [DisplayName("转交时间")]
        public DateTime JJ_Time { get; set; }
        /// <summary>
        /// 状态0为未接收（默认），1为办理中,2为已转交,3为已结束4为已打回
        /// </summary>
        [DisplayName("状态0为未接收（默认），1为办理中,2为已转交,3为已结束4为已打回")]
        public int Status { get; set; }
        /// <summary>
        /// 应办理人
        /// </summary>
        [DisplayName("应办理人")]
        public string YBLR { get; set; }
        /// <summary>
        /// 办理人
        /// </summary>
        [DisplayName("办理人")]
        public string BLR { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        [DisplayName("排序号")]
        public int PXM { get; set; }

        /// <summary>
        /// 办理备注
        /// </summary>
        [DisplayName("办理备注")]
        public string Content { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        [DisplayName("是否可用")]
        public bool DelTag { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }
    }
}
